package cn.xinfei.xdecision.data.core.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "xdecision.data.cache")
@RefreshScope
public class VarCacheProperties {
    private long reload;
    // seconds
    private long cacheTimeout;
}
